Conversation
cordellfreeman
left a comment
There was a problem hiding this comment.
I'm not sure what 'dataType` function is or what it does. If it's dead, I think removing it is fine. If somebody does need it, then can add it back easily
I'm not totally sure why, but the default value in an enum schema doesn't get parsed out and saved in If/when setting |
This PR fixes the parsing logic for string query parameters in the following situations:
Previously, in both these situations we we would initialize a
stringvariable for the query parameter but then pass it in to a function that was expecting a*stringtype.One thing I'm not totally sure about is if we need the
dataTypefunction call. That also doesn't work as currently written (since it's not used for the default value) but after some experimentation I'm thinking that this might be dead code. It looks like we don't support default values for enums, so I'm not sure how this would get executed currently.